﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Data;

namespace prjCompras
{
    public partial class frmGridAssociaFornecedorMaterial : FormGridPadrao.frmFormGridPadrao
    {
        public frmGridAssociaFornecedorMaterial()
        {
            InitializeComponent();
            f = new frmCadAssociaFornecedorMaterial();
            this.tabela = ConstTabelas.FORNECEDORMATERIAL;
            this.selectInner = @"Select FM.CNPJFornecedor, FM.CodigoMaterial, M.Nome as Material from FornecedorMaterial as FM, Material as M
                                    where FM.CodigoMaterial = M.Codigo";
        }

        private void frmGridAssociaFornecedorMaterial_Load(object sender, EventArgs e)
        {
            dtgrdvwDados.Columns[0].Visible = false;
        }

    }
}
